#ifndef XTEXTURED3D9
#define XTEXTURED3D9
#include "..\XModEngine\XTexture.h"
#include "..\XModEngine\XRender.h"
#include "D3DInclude.h"
class XTextureD3D9 : public XTexture{
private:
	LPDIRECT3DTEXTURE9 m_texture;
	UINT m_Height, m_Width;
	DWORD m_format, m_usage, m_pool,m_Miplevels;
public:
	XTextureD3D9();
	~XTextureD3D9();
	virtual bool LoadResource(XModFileStream file_stream);
	virtual LPDIRECT3DTEXTURE9 GetTextureD3D();
};
#endif 